<!-- 我的查询 -->

<template>
  <WebSearch>
    <template #btn>
      <BtnPrimary title="标签打印" @click="toPrint" />
    </template>

    <ParamInput :label="`${CORE.MAP.REGION}名称 / ${CORE.MAP.REGION}号码`" bind="name" />
    <ParamTree :label="`上级${CORE.MAP.REGION}`" bind="parentId" :dict="CORE.REGION.DICT" allName />
    <ParamSelect :label="`${CORE.MAP.REGION}类型`" bind="typeId" :dict="CORE.DICT.area_type || []" narrow />
  </WebSearch>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import OurSearch from '@admin/views/Maintain/Print/components/OurSearch'

// ============================== 导出组件 ============================== //

export default CORE.extend(OurSearch, {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'MySearch',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixWeb(), CORE.mixSelect('supplier', 'supplier_')],
})
</script>
